<style scoped>
    .result {
      margin-top: 0.88rem;
      position: relative;
    }
  .res-result{
    width: 100%;
    height: 3.5rem;
    background: white;
  }
  .res-result img{
    width: 90%;
    margin: 0 auto;
    display: block;
  }
    .st-box{
      display: flex;
      flex-direction: column;
      background: #F8FAFA;
      position: relative;
      padding: 0 0.32rem;
    }
    .st-box-tit{
      position: relative;
      display: flex;
      flex-direction: row;
      margin-top: 0.1rem;
    }
    .st-type,.st-tihao{
      font-size: 12px;
    }
    .st-type{
      font-size: 12px;
      margin-top: 0.115rem;
      margin-left: 0.18rem;
    }
    .st-tihao{
      position: absolute;
      top: 0.12rem;
      right: 0.247rem;
    }
    .answer-list{
      /*width: 6.88rem;*/
      height:0.83rem;
      line-height: 0.83rem;
      font-size: 15px;
      background: white;
      color: #222222;
      /*padding-left: 0.18rem;*/
      margin-top: 0.17rem;
      /*margin-right: 0.17rem;*/
    }
    .submit{
      background-image: linear-gradient(-90deg, #3CBCFF 0%, #2094FA 100%);
      border-radius: 5px;
      text-align: center;
      font-size: 18px;
      /*width: 6.88rem;*/
      height:0.83rem;
      line-height: 0.83rem;
      color: white;
      margin-top: 1.25rem;
    }
    .st-title{
      font-size: 15px;
      color: #202020;
      margin-top: 0.125rem;
    }
    .answer-list span{
      display: inline-block;
      margin-left: 0.17rem;
    }
    .datika-box{
      position: fixed;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.7);
      left: 0;
      top: 0;
      z-index: 9999;
    }
    .datika{
      position: relative;
      width: 100%;
      height: 100%;
    }
    .jiaojuan{
      width: 100%;
      height: 0.9rem;
      position: fixed;
      bottom: 0;
      left: 0;
      text-align: center;
      color: white;
      line-height: 0.9rem;
      font-size: 16px;
      background-image: linear-gradient(-90deg, #3CBCFF 0%, #2094FA 100%);
      display: flex;
      flex-direction: row;
    }
    .datika-container{
      margin-top: 0.2rem;
      background: white;
      width: 100%;
    }
    .ka-title{
      display: flex;
      flex-direction: row;
      height: 1.2rem;
      width: 100%;
      align-items: center;
    }
    .ka-line{
      width: 0.1rem;
      height: 0.34rem;
      background-image: linear-gradient(0deg, #3CBCFF 0%, #2094FA 100%);
      margin-left: 0.2rem;
    }
    .ka-name{
      font-family: PingFangSC-Regular;
      font-size: 16px;
      color: #202020;
      margin-left: 0.16rem;
    }
    .element2{
      width: 0.16rem;
      height: 0.16rem;
      background-color: #30ABFD;
      border-radius: 50%;
      position: relative;
      margin-left: 3rem;
    }
    .element2:after{
      content: "";
      display: block;
      width: 0.08rem;
      height: 0.08rem;
      border-radius: 50%;
      background-color:white;
      position: absolute;
      top: 0.08rem;
      left: 0.08rem;
      margin-top: -0.04rem;
      margin-left: -0.04rem;
    }

    .element5{
      width: 0.16rem;
      height: 0.16rem;
      background-color: red;
      border-radius: 50%;
      position: relative;
      margin-left: 0.2rem;
    }
    .element5:after{
      content: "";
      display: block;
      width: 0.08rem;
      height: 0.08rem;
      border-radius: 50%;
      background-color:white;
      position: absolute;
      top: 0.08rem;
      left: 0.08rem;
      margin-top: -0.04rem;
      margin-left: -0.04rem;
    }


    .element3{
      width: 0.16rem;
      height: 0.16rem;
      background-color: #979797;
      border-radius: 50%;
      position: relative;
      margin-left: 0.2rem;
    }
    .element3:after{
      content: "";
      display: block;
      width: 0.08rem;
      height: 0.08rem;
      border-radius: 50%;
      background-color:white;
      position: absolute;
      top: 0.08rem;
      left: 0.08rem;
      margin-top: -0.04rem;
      margin-left: -0.04rem;
    }
    .ka-yida-text,.ka-weida-text{
      font-size: 12px;
      margin-left: 0.2rem;
    }
    .ka-list{
      width: 7rem;
      margin: 0 auto;
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      padding-bottom: 3rem;
    }
    .ti-list{
      width: 0.6rem;
      height: 0.6rem;
      text-align: center;
      line-height: 0.6rem;
      font-size: 14px;
      border-radius: 50%;
      margin-left: 0.4rem;
      margin-right: 0.3rem;
      margin-top: 0.3rem;
    }
    .dati-style{
      border:1px solid  #2b97e0;
    }
    .weida-style{
      border:1px solid  #979797;
    }
  .jiaojuan div:first-child{
    width: 50%;
    border-right:1px solid white ;
    height: 100%;
    text-align: center;
  }
  .tost-box{
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    left: 0;
    top: 0;
    z-index: 9999;
  }
  .success{
    width: 4.96rem;
    height: 5.06rem;
    position: fixed;
    left: 50%;
    top: 50%;
    margin-top: -2.53rem;
    margin-left: -2.48rem;
    display: flex;
  }
  .succ-box img{
    width: 100%;
  }
  .succ-box{
    position: relative;
    width: 100%;
    height: 100%;
  }
  .daka-text{
    position: absolute;
    font-size: 16px;
    width: 100%;
    text-align: center;
    left: 0;
    top: 0;
    display: flex;
    top: 2.3rem;
    flex-direction: column;
  }
  .daka-text2{
    position: absolute;
    text-align: center;
    width: 100%;
    color: #33D8AF;
  }
</style>
<template>
    <div class="result">
        <navx></navx>
      <div class="jiaojuan">
        <div>错题解析</div>
        <div style="text-align: center;width: 50%">全部解析</div>
      </div>
        <div class="res-result">
          <img src="../assets/img/result.png" />
        </div>
      <div class="datika-container" @click.stop>
        <div class="ka-title">
          <div class="ka-line"></div>
          <div class="ka-name">答题卡</div>
          <div class="element2"></div>
          <div class="ka-yida-text">答对</div>

          <div class="element5"></div>
          <div class="ka-yida-text">答错</div>

          <div class="element3"></div>
          <div class="ka-weida-text">未答</div>
        </div>
        <div class="ka-list">
          <div class="ti-list dati-style" v-for="(item,index) in ti" @click.stop="select(index)">{{item}}</div>
        </div>

      </div>
      <div class="tost-box" v-if="close" @click="closetost">
        <div class="success">
            <div class="succ-box">
              <img src="../assets/img/daka.png" />
              <div class="daka-text">
                <div class="daka-text2">打卡成功</div>
                <div style="position: relative;top: 0.8rem">累计打卡<span style="font-size: 16px;color: #33D8AF;">22</span>天</div>
              </div>
            </div>
        </div>
      </div>

    </div>

</template>

<script>
    import navx from '@/components/navx'
    import axios from 'axios'
    export default {
        name: '',
        data() {
            return {
              close:true,
              ti:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],
            }
        },components:{
        navx
      }, created() {

        }, mounted() {
        }, methods: {
        closetost:function () {
          this.close=false
        }
      }
    }
</script>
